@import 'antd/es/style/themes/default.less';
@import 'antd/dist/antd.less';
body {
  font-family: '微软雅黑', '微软雅黑 Regular',  sans-serif;
  font-size: 14px;

  margin: 0;

  color: @text-color;
}
ol,
dl,
ul {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}

input::-webkit-input-placeholder {
  /* WebKit browsers 适配谷歌 */
  color: #bbbdc4;
}
input:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 适配火狐 */
  color: #bbbdc4;
}
input::-moz-placeholder {
  /* Mozilla Firefox 19+ 适配火狐 */
  color: #bbbdc4;
}
input:-ms-input-placeholder {
  /* Internet Explorer 10+  适配ie*/
  color: #bbbdc4;
}

.ant-pagination {
  // width: 100%;

  // text-align: right;
  // .ant-pagination-total-text {
  //   float: left;
  // }
  .ant-pagination-item-active {
    border-radius: 50%;
    background-color: @primary-color;
    > a {
      color: #fff !important;
    }
  }
  .ant-pagination-options {
    .ant-select-selector {
      color: @link-color !important;
      border: 0 !important;
      box-shadow: none !important;
    }
  }
}
.ant-input-number-handler-wrap {
  display: none;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  box-shadow: inset 0 0 0 1420px #fff;
}

.mock-vertical-track {
  width: 10px;

  transition: opacity .3s;

  background-color: transparent;
}

.mock-horizontal-track {
  height: 10px;

  transition: opacity .3s;

  background-color: transparent;
}

.mock-vertical-handler {
  right: 1px;

  width: 8px;

  transition: opacity .3s;

  border-radius: 4px;
  background-color: rgba(0, 0, 0, .3);
  &:hover {
    background-color: rgba(0, 0, 0, .5);
  }
}

.mock-horizontal-handler {
  bottom: 1px;

  height: 8px;

  transition: opacity .3s;

  border-radius: 4px;
  background-color: rgba(0, 0, 0, .3);
  &:hover {
    background-color: rgba(0, 0, 0, .5);
  }
}

.ant-table-cell {
  padding: 16px 12px !important;
}

.ant-message-custom-content {
  font-size: 16px;
  .anticon {
    font-size: 24px;
  }
}
.ant-table-thead {
  background: #d7a92c !important;
}
.ant-table-thead {
  background-image: linear-gradient(to right, #efed7a, #fbf1a7);
}
.ant-table-thead > tr > th  {
  background-color: transparent !important;
  color: #fff !important;
  &.ant-table-cell-fix-sticky {
    background-color: #d7a92c !important;
  }
}
.ant-modal-title {
  position: relative;
  padding-left: 36px;
  &::before {
    content: '';
    background-color: #fff1b8;
    width: 18px;
    height: 18px;
    display: inline-block;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 0;
  }
  &::after {
    content: '';
    background-color: #ffc53d;
    width: 18px;
    height: 18px;
    display: inline-block;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 12px;
  }
}
input:focus {
  outline-color: @primary-color !important;
}
.ant-table {
  background: none;
}
.ant-table-tbody > tr.ant-table-placeholder:hover > td {
  background-color: transparent !important;
}
.ant-table-cell-row-hover {
  background-color: @primary-2 !important;
}